<%@page import="cn.three.eneity.Shop"%>
<%@page import="java.util.List"%>
<%@page import="cn.three.biz.ShopdaoBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VV_d</title>
<meta name="keywords"/>
    <meta name="description"/>
    <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
    <link href="css/master.css" type="text/css" rel="stylesheet" />
    <link href="css/base.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="http://www.hatrzs.com/skin/js/jquery.SuperSlide.2.1.1.js"></script>
    


    
</head>

<body>
<div class="title3">
  <div class="block yh f13">
      <ul>
          <li><a href="login.jsp">亲,请登录</a>&nbsp;&nbsp;</li>
          <li><a href="register.jsp">免费注册</a>&nbsp;&nbsp;</li>
          <li class="badyy"><a href="#">我的宝贝∨</a>
             <div class="bady">
               <a href="#">我的宝贝</a><br/>
               <a href="#">我的足迹</a>
             </div>&nbsp;&nbsp;
          </li>
          <li class="shopping"> <a href="#" ><img src="images3/shoop.bmp" style="height:20px;width:20px;vertical-align:middle;">购物车∨</a>&nbsp;&nbsp;</li>&nbsp;&nbsp;
          <li class="collectt"><a href="#" class="collectt"><img src="images3/help.jpg" style="height:20px;width:20px; vertical-align:middle;" >收藏夹∨</a>
             <div class="collect">
               <a href="#">收藏的宝贝</a>     
             </div>&nbsp;&nbsp;
          </li>
          <li class="testt"><a href="#">卖家中心∨</a>
            <div class="test">
               <a href="#">培训中心</a><br/>
               <a href="#">体验中心</a>
            </div>&nbsp;&nbsp;
          </li>   
      </ul>
  </div>
  </div>

<!--头部-->
<div class="head">   
     <!--店的标志-->
    <div id="top">
    <ul>
    <li class="names"><img src="images3/name.png" class="name"><img src="images3/PPT.jpg"></li>
    <li><input type="text"  size="60" placeholder="请输入关键字"  class="text"></li>
    <li class="red" align="center"><a href="#">搜索</a></li>
    <li class="clear"></li>
    </ul>
    </div>
        <div class="box position_a clearfix">
            <!--导航-->
            <div class="nav fleft ofHidden">
                <ul>
                    <li><a href="#">首页</a></li>
                    <li><a href="#1">公司简介</a></li>
                    <li><a href="coakeServlet">蛋糕</a></li>
                    <li><a href="#1">饮料</a></li>
                    <li><a href="#1">甜点</a></li>
                    <li><a href="#1">在线留言</a></li>
                    <li><a href="#1">联系我们</a></li>
                    <li><a href="#1">资质荣誉</a></li>
                </ul>
            </div>
        </div>
</div>






<div class="fullSlide">
    <div class="bd">
        <ul>
        
        <%
        ShopdaoBiz shopbiz= new ShopdaoBiz();
        Shop shop=new Shop();
        shop.setShopPic("%back%");
        List<Shop> list= shopbiz.showLikeShops(shop);
        for(int i=0;i<list.size();i++){
        	 	Shop sh=(Shop)list.get(i);
        	 	
        	%>
        	
        
        	<li style="background:url(images3/<%=sh.getShopPic() %>.jpg) #FFF center 0 no-repeat;"></li>
        	
        
        	
        	
           
            <%} %>
        </ul>
    </div>
    

    <div class="hd"><ul></ul></div>
</div>

<div class="team clearfix yh mt20">
           <div><p><img src="images3/lay.jpg" style="height:100px;  margin-left:-365px;"></p><p class="make">材料:5只鸡蛋，<br/>4勺糖，面粉</p>
        <div class="doit">做法:<br/> 1、将5只鸡蛋加上4勺糖（不加水）搅拌10分钟不停。<br/> 
         2、再加七汤勺满满面粉搅拌均匀后，直接倒进<br/>电饭锅里（煲内涂上一层油避免粘锅），按下煮饭键。<br/> 
         3、直到电饭锅直接跳到保温后，翻过来再烫一下<br/>就变成现在看到的两边都有点虎皮效果...这个好方便... 不过很有爱~</div></div>
    <div class="newup">
        <div class="t11"><a href="#1" class="fright f12">Talk预约设计</a>新品上市</div>
        <div class="bd">

            <ul class="picList">
            <%
            ShopdaoBiz biz=new ShopdaoBiz();
            Shop newcate=new Shop();
            newcate.setShopPic("%newcate%");
         List<Shop> catelist=biz.showLikeShops(newcate);
        		
            for(int i=0;i<catelist.size();i++){
            	Shop sb=(Shop)catelist.get(i);
           %>
            <li>
                    <div class="pic"><a href="buyservlet?shopid=<%=sb.getShopId()%>" target="_blank" ><img src="images3/<%=sb.getShopPic() %>" style="width:180px;height:180px;" /></a></div>
                    <div class="title"><a href="buyservlet?shopid=<%=sb.getShopId()%>"><%=sb.getShopName()%></a></div>
                </li>
           <% 	
            }
            %>
               
            </ul>
        </div>
    </div>
</div>
<!--精品推荐-->
<div class="good">
      <div><p><img src="images3/ww.jpg" style="height:100px; width:130px; margin-left:-620px;"></p><p class="makee">名字:胡萝卜汁<br/>材料:胡萝卜</p>
        <div class="doitt">做法:<br/> 每天喝上一定数量的鲜胡萝卜汁，能改善整<br/>个机体的状况。胡萝卜汁能提高人的食欲和对感染<br/>的抵抗力。哺乳期的母亲每天多喝胡萝卜汁，分泌<br/>出的奶汁质量要比不喝
        的母亲高得多;患有溃疡的人，<br/>经常饮用胡萝卜汁可以显着减轻症状。</div></div>
    <div class="good-two">
        <div class="t2">精品推荐</div>
        <div class="bd1">
        
            <ul class="picList">
                  <%
            ShopdaoBiz bi=new ShopdaoBiz();
            Shop newcat=new Shop();
            newcate.setShopPic("%gooddrink%");
         List<Shop> catelit=bi.showLikeShops(newcate);
        		
            for(int i=0;i<catelist.size();i++){
            	Shop sq=(Shop)catelit.get(i);
           %>
                <li>
                    <div class="pic1"><a href="buyservlet?shopid=<%=sq.getShopId()%>" target="_blank"><img src="images3/<%=sq.getShopPic() %>" style="width:180px;height:180px;" /></a></div>
                    <div class="title1"><a href="buyservlet?shopid=<%=sq.getShopId()%>"><%=sq.getShopName()%></a></div>
                </li>
                <%} %>
            </ul>
           
        </div>
    </div>
</div>
<!--本月热销-->
<div class="hot">
 <div><p><img src="images3/eat.jpg" style="height:100px; width:130px; margin-left:-620px;"></p><p class="makek">名字:绿豆糕，<br/>材料：绿豆粉,<br/>白糖,蜂蜜。</p>
  <div class="doiti">做法:<br/> 1、绿豆粉直接倒在碗里放进锅内蒸上30分钟，记得在碗上加<br/>个盖子哦。2、半小时后关火，然后拌入白糖、开水，浓稠度<br/>自己掌握。3、铺平装进方形餐具，再蒸15分钟。4、取出来晾<br/>凉，切块，大功告成！

</div></div>
<div class="hot-two">
        <div class="t3">本月热销</div>
        <div class="bd2">
            <ul class="picList">
                   <%
            ShopdaoBiz biq=new ShopdaoBiz();
            Shop newcatq=new Shop();
            newcatq.setShopPic("%newsweet%");
         List<Shop> catlit=biq.showLikeShops(newcatq);
        		
            for(int i=0;i<catlit.size();i++){
            	Shop ssq=(Shop)catlit.get(i);
           %>
            
                <li>
                    <div class="pic"><a href="buyservlet?shopid=<%=ssq.getShopId()%>" target="_blank"><img src="images3/<%=ssq.getShopPic() %>" style="width:180px;height:180px;" /></a></div>
                    <div class="title2"><a href="buyservlet?shopid=<%=ssq.getShopId()%>"><%=ssq.getShopName() %></a></div>
                </li>
              <%} %>
            </ul>
        </div>
    </div>
</div>
<div class="foot clearfix">
    <div class="wlcome">
        <div class="fleft">
            <p><a href="" class="a1">联系我们</a>|<a href="" class="a2">公司诚聘</a>|<a href="" class="a3">合作伙伴</a>|<a href="" class="a4">网站地图</a></p>
            <p>Copyright © 2014-2015 www.haiis.com,All Rights Reserved 来源：源码之家</p>
            <p>版权所有  甜点有限公司</p>
        </div>

        <div class="fright">
            <p class="p1">本店热线：0517-85158777</p>
            <p class="p2">邮箱：2079491718@qq.com</p>
        </div>
    </div>
</div>

<script src="js/all.js" type="text/javascript"></script>
</body>
</html>
